<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-carmessage-add">
            <div class="form-group">
                <label class="col-sm-3 control-label">SIM卡号：</label>
                <div class="col-sm-8">
                    <input name="simcarnumber" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">ICCID：</label>
                <div class="col-sm-8">
                    <input name="simiCcid" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">SIM卡状态：</label>
                <div class="col-sm-8">
                    <input name="simcardstate" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">运营商：</label>
                <div class="col-sm-8">
                    <input name="simoperator" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">绑定状态：</label>
                <div class="col-sm-8">
                    <input name="simbindingstate" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">车辆外键：</label>
                <div class="col-sm-8">
                    <input name="carId" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">车辆状态：</label>
                <div class="col-sm-8">
                    <input name="simcarstate" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">终端编号，终端表外键：</label>
                <div class="col-sm-8">
                    <input name="spiId" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">变更日志外键ID：</label>
                <div class="col-sm-8">
                    <input name="simlogId" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/carmessage"
        $("#form-carmessage-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-carmessage-add').serialize());
            }
        }
    </script>
</body>
</html>
